package com.itheima_5;

public class Student implements Person {
    private String shcool;

    public Student() {
    }

    public Student(String shcool) {
        this.shcool = shcool;
    }

public void study(){
    System.out.println("热爱学习");
}
    @Override
    public String toString() {
        return "Student{" +
                "shcool='" + shcool + '\'' +
                '}';
    }

    @Override
    public void work() {
        System.out.println("学生在学习");
    }
}
